<?php

namespace IDock\Insurance\ZSIC\Request;

use Exception;
use IDock\Insurance\ZSIC\Response\ValidateCarResponse;
use IDock\Visitor\ValidateCarVisitor;

class ValidateCarRequest extends AllZSICRequest
{
    public $requestCode = '-';

    protected $response = ValidateCarResponse::class;

    protected $urlTip = '验车码接口';

    /*** @var ValidateCarVisitor $visitor */
    protected $visitor;

    /**
     * @return array
     * @throws Exception
     */
    public function generate(): array
    {
        return [];
    }

    public function getBusinessNo()
    {
        return $this->visitor->argc['businessNo'] ?? '';
    }
}
